package drds.binlog.server;

import drds.binlog.common.LifeCycle;
import drds.binlog.server.exception.BinlogServerException;

/**
 * 对应整个服务实例，一个jvm实例只有一份server
 */
public interface Server extends LifeCycle
{

    void start() throws BinlogServerException;

    void stop() throws BinlogServerException;
}
